class CreateShapeAttributes < ActiveRecord::Migration
  def self.up
    create_table :shape_attributes do |t|
      t.column :shape_id, :int
      t.column :name, :string
      t.column :value, :string
      t.column :type, :string
      t.column :created_at, :timestamp
      t.column :updated_at, :timestamp
    end
  end

  def self.down
    drop_table :shape_attributes
  end
end
